package com.yuxl.admin.manager.auth.core.entity;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.data.annotation.Id;
import org.springframework.data.relational.core.mapping.Column;
import org.springframework.data.relational.core.mapping.Table;

import java.time.LocalDateTime;

/**
 * @author yuxl
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Table("auth_role")
public class AuthRolePower {
    @Id
    private Long id;

    @Schema(description = "角色id")
    private Long roleId;

    @Schema(description = "权限类型")
    private String type;

    @Schema(description = "权限id")
    private Long powerId;

}